package com.atm.thirdplt.service;

import com.atm.thirdplt.common.core.domain.AjaxResult;
import com.atm.thirdplt.common.core.domain.his.AtmHisConfig;
import com.atm.thirdplt.common.core.domain.his.AtmHisMaterial;
import com.atm.thirdplt.common.core.domain.his.TestWriteHis;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Map;

/**
 * (AtmHisConfig)表服务接口
 * 
 * @author：makejava
 * @date：2021/08/26 
 */
public interface AtmHisConfigService {

    Map<String, AtmHisConfig> listHisConfigMap();

    /**
     * 写入his 中间表
     *
     * @param testWriteHis
     * @return
     */
    AjaxResult addWriteHis(List<TestWriteHis> testWriteHis);

    /**
     * 写入系统物料库
     *
     * @param
     * @return
     */
    Integer addHisMaterial();

    AjaxResult booleanLock(TestWriteHis testWriteHis);

    AjaxResult delWriteHis(List<TestWriteHis> testWriteHis);
}